<template>
  <div id="app">
    <MyHeader/>
    <MyHeader/>
    <hr>
    app.vue根组件
    <hr>
    <!-- 双标签，使用插槽 -->
    <MyFooter></MyFooter>
    <!-- 单标签 -->
    <MyFooter/>
  </div>
</template>
<script>
import MyFooter from "./components/MyFooter";
import MyHeader from "./components/MyHeader";
export default {
  components:{
    MyFooter,MyHeader
  }
}
</script>
